﻿#ifndef HOMEPAGELISTCTL_H
#define HOMEPAGELISTCTL_H

#include "SheetGlobal.h"
#include "BaseInclude.h"

#include <QWidget>
#include <QTableView>


class QRecordTableModel;

namespace Ui{ class	HomePageListCtl; }

class SHEET_EXPORT HomePageListCtl : public QWidget
{
	Q_OBJECT

public:
	HomePageListCtl(QWidget *parent = 0);
	~HomePageListCtl();

signals:
	void sheetListDoubleClicked(int sheetID, int sheetBox, const QString & sheetName);

protected slots:
	void on_tableView_doubleClicked(const QModelIndex & index);

private:
	Ui::HomePageListCtl * ui;
	QRecordTableModel *pRecordTableModel;
};

#endif // HOMEPAGELISTCTL_H
